<div class="tj_news ">
    <div class="whitebg">

        <h2>
            <?php
            $descsql = "select * from article order by id desc limit 8";
            $descrst = mysqli_query($con,$descsql);
            ?>
            <p class="tj_t1">最新文章</p>
        </h2>
        <ul>
            <?php while($descrow = mysqli_fetch_assoc($descrst)){ ?>
                <li><a href="detail.php?id=<?php echo $descrow['id']; ?>& view =<?php echo $row[article_view]+1;?>"><?php echo $descrow['title']; ?></a></li>
            <?php } ?>
        </ul>
    </div>
    <div class="whitebg">
        <h2>
            <p class="tj_t2">推荐文章</p>
        </h2>
        <?php
            $descsql1 = "select * from article order by article_view desc limit 8";
        $descrst1 = mysqli_query($con,$descsql1);
        ?>
        <ul>
            <?php
            while($descrow1 = mysqli_fetch_assoc($descrst1)){
            ?>
            <li><a href="detail.php?id=<?php echo $descrow1['id'];?>& view =<?php echo $row[article_view]+1;?>"><?php echo $descrow1['title'];?></a></li>
            <?php }?>
        </ul>
    </div>
</div>